package org.kzwl.comm.pojo.dto.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("")
public class MenuDTO {

    @ApiModelProperty("自增")
    private Integer cuMenuId;

    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String name;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;

    /**
     * icon
     */
    @ApiModelProperty("icon")
    private String icon;

    private boolean hideInBread;

    private boolean notCache;

    private Integer cuMenuParent;

    private List<MenuDTO> children = new ArrayList<>();

    private String path;

    Meta meta;

    @Data
    public static class Meta {
        private String icon;
        private String title;
        private boolean hideInBread;
        private boolean notCache;
    }

}

